package net.ghsoft.Ctrl
{
	import mx.collections.ArrayCollection;
	import mx.core.UIComponent;
	
	import spark.components.Image;
	
	public class MyImage extends Image
	{
		public function set imageValue(value:int):void
		{
			switch (value)
			{ 
				case 1 : 
					this.source = "assets/Yue/yue-01.png";
					break;
				case 2: 
					this.source = "assets/Yue/yue-02.png";
					break;
				case 3 : 
					this.source = "assets/Yue/yue-03.png";
					break; 
				case 4 :
					this.source = "assets/Yue/yue-04.png";
					break;
				case 5 : 
					this.source = "assets/Yue/yue-05.png";
					break;
				case 6 : 
					this.source = "assets/Yue/yue-06.png";
					break;
				case 7 : 
					this.source = "assets/Yue/yue-07.png";
					break;
				case 8 : 
					this.source = "assets/Yue/yue-08.png";
					break;
				case 9 : 
					this.source = "assets/Yue/yue-09.png";
					break;
				case 10 : 
					this.source = "assets/Yue/yue-10.png";
					break;
				case 11 : 
					this.source = "assets/Yue/yue-11.png";
					break;
				case 12 : 
					this.source = "assets/Yue/yue-12.png";
					break;
				case 13: 
					this.source = "assets/Yue/yue-13.png";
					break;
				case 14: 
					this.source = "assets/Yue/yue-14.png";
					break;
				case 15 : 
					this.source = "assets/Yue/yue-15.png";
					break;
				case 16 : 
					this.source = "assets/Yue/yue-16.png";
					break; 
				case 17 : 
					this.source = "assets/Yue/yue-17.png";
					break;
				case 18 : 
					this.source = "assets/Yue/yue-18.png";
					break;
				case 19 : 
					this.source = "assets/Yue/yue-19.png";
					break;
				case 20 : 
					this.source = "assets/Yue/yue-20.png";
					break;
				case 21 : 
					this.source = "assets/Yue/yue-21.png";
					break;
				case 22: 
					this.source = "assets/Yue/yue-22.png";
					break;
				case 23 : 
					this.source = "assets/Yue/yue-23.png";
					break;
				case 24: 
					this.source = "assets/Yue/yue-24.png";
					break;
				case 25 : 
					this.source = "assets/Yue/yue-25.png";
					break;
				case 26 : 
					this.source = "assets/Yue/yue-26.png";
					break;
				case 27 : 
					this.source = "assets/Yue/yue-27.png";
					break;
				case 28 : 
					this.source = "assets/Yue/yue-28.png";
					break;
				case 29 : 
					this.source = "assets/Yue/yue-29.png";
					break;
				case 30 : 
					this.source = "assets/Yue/yue-30.png";
					break;
				case 31: 
					this.source = "assets/Yue/yue-31.png";
					break;
			}
		}
		
//		public function get dropDownValue():String
//		{
//			return _imageValue;
//		}

	}
}